Intersection Object Example

The following example sets manual intersection position properties and displays labels with the axis.

Private Sub Command1_Click()
      With MSChart1.Plot.Axis(VtChAxisIdX).Intersection
      ' Set Intersection Properties.
      .Auto = False   ' Set positioning to manual.
      .Point = 20      ' Set intersection with the Y
                     ' Axis to 20.
      .LabelsInsidePlot = True   ' Display Labels
                                 ' with Axis not at
                                 ' the base.
   End With
End Sub